設定画面のレイアウトを修正 #39
@ -1,56 +1,73 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:orientation="vertical"
 | 
			
		||||
    tools:context=".SettingFragment"
 | 
			
		||||
    android:padding="16dp">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <ImageView
 | 
			
		||||
        android:src="@drawable/bluetooth_and_qr2"
 | 
			
		||||
        android:layout_gravity="center_horizontal"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="200dp"
 | 
			
		||||
        android:layout_marginTop="150dp"
 | 
			
		||||
        />
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:textColor="@color/black"
 | 
			
		||||
        android:text="QRコード印刷とBluetooth設定"
 | 
			
		||||
        android:layout_gravity="center_horizontal"
 | 
			
		||||
        android:textStyle="bold"
 | 
			
		||||
        android:textSize="18dp"
 | 
			
		||||
        android:layout_marginTop="20dp"
 | 
			
		||||
        />
 | 
			
		||||
 | 
			
		||||
    <Button
 | 
			
		||||
        android:id="@+id/button_bluetooth_setting"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:text="Bluetooth設定"
 | 
			
		||||
        android:layout_marginTop="120dp"
 | 
			
		||||
        android:layout_marginBottom="20dp"/>
 | 
			
		||||
 | 
			
		||||
    <Button
 | 
			
		||||
        android:id="@+id/button_print_qr"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:text="QRコード印刷"/>
 | 
			
		||||
    android:padding="16dp"
 | 
			
		||||
    tools:context=".SettingFragment">
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    <LinearLayout
 | 
			
		||||
        android:id="@+id/linearLayout"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="match_parent"
 | 
			
		||||
        android:gravity="bottom">
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:orientation="vertical"
 | 
			
		||||
        app:layout_constraintBottom_toBottomOf="parent"
 | 
			
		||||
        app:layout_constraintEnd_toEndOf="parent"
 | 
			
		||||
        app:layout_constraintStart_toStartOf="parent"
 | 
			
		||||
        app:layout_constraintTop_toTopOf="parent">
 | 
			
		||||
 | 
			
		||||
        <ImageView
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="200dp"
 | 
			
		||||
            android:layout_gravity="center_horizontal"
 | 
			
		||||
            android:src="@drawable/bluetooth_and_qr2" />
 | 
			
		||||
 | 
			
		||||
        <TextView
 | 
			
		||||
            android:layout_width="wrap_content"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            android:layout_gravity="center_horizontal"
 | 
			
		||||
            android:layout_marginTop="20dp"
 | 
			
		||||
            android:text="QRコード印刷とBluetooth設定"
 | 
			
		||||
            android:textColor="@color/black"
 | 
			
		||||
            android:textSize="18dp"
 | 
			
		||||
            android:textStyle="bold" />
 | 
			
		||||
 | 
			
		||||
        <Button
 | 
			
		||||
            android:id="@+id/button_bluetooth_setting"
 | 
			
		||||
            android:layout_width="match_parent"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            android:text="QRコードは株式会社デンソーウェーブの登録商標です"
 | 
			
		||||
            android:textColor="@color/black" />
 | 
			
		||||
            android:layout_marginTop="120dp"
 | 
			
		||||
            android:layout_marginBottom="20dp"
 | 
			
		||||
            android:text="Bluetooth設定" />
 | 
			
		||||
 | 
			
		||||
        <Button
 | 
			
		||||
            android:id="@+id/button_print_qr"
 | 
			
		||||
            android:layout_width="match_parent"
 | 
			
		||||
            android:layout_height="wrap_content"
 | 
			
		||||
            android:text="QRコード印刷" />
 | 
			
		||||
 | 
			
		||||
    </LinearLayout>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
    <LinearLayout
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:gravity="bottom"
 | 
			
		||||
        app:layout_constraintBottom_toTopOf="@+id/linearLayout"
 | 
			
		||||
        tools:layout_editor_absoluteX="16dp">
 | 
			
		||||
 | 
			
		||||
    </LinearLayout>
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:text="QRコードは株式会社デンソーウェーブの登録商標です"
 | 
			
		||||
        android:textColor="@color/black"
 | 
			
		||||
        app:layout_constraintBottom_toBottomOf="parent"
 | 
			
		||||
        app:layout_constraintEnd_toEndOf="parent"
 | 
			
		||||
        app:layout_constraintStart_toStartOf="parent" />
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</androidx.constraintlayout.widget.ConstraintLayout>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user