diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2022-09-28 09:34:33 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2022-09-28 09:34:33 +0200 |
| commit | f795a3f4b38da552cb5e630b06e353bd7752756f (patch) | |
| tree | eb2b3b2706ba9d7d123976fdfd2d224056626955 /app/src/main/res | |
| parent | d191a1cfc5ec76fd9985a0878b42775dbe1eddf8 (diff) | |
| download | lector-de-codi-f795a3f4b38da552cb5e630b06e353bd7752756f.tar.gz lector-de-codi-f795a3f4b38da552cb5e630b06e353bd7752756f.tar.zst lector-de-codi-f795a3f4b38da552cb5e630b06e353bd7752756f.zip | |
Diffstat (limited to 'app/src/main/res')
| -rw-r--r-- | app/src/main/res/layout/app_bar_main.xml | 2 | ||||
| -rw-r--r-- | app/src/main/res/layout/fragment_settings.xml | 59 | ||||
| -rw-r--r-- | app/src/main/res/values/themes.xml | 1 |
3 files changed, 49 insertions, 13 deletions
diff --git a/app/src/main/res/layout/app_bar_main.xml b/app/src/main/res/layout/app_bar_main.xml index 53849bc..498962d 100644 --- a/app/src/main/res/layout/app_bar_main.xml +++ b/app/src/main/res/layout/app_bar_main.xml @@ -7,10 +7,12 @@ tools:context=".MainActivity"> <com.google.android.material.appbar.AppBarLayout + android:id="@+id/app_bar_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/Theme.LectorDeCodi.AppBarOverlay"> +<!-- <androidx.appcompat.widget.Toolbar--> <androidx.appcompat.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml index ac387fb..ad696a7 100644 --- a/app/src/main/res/layout/fragment_settings.xml +++ b/app/src/main/res/layout/fragment_settings.xml @@ -9,47 +9,82 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> + <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Where to save pictures?" - android:textAlignment="center" android:layout_marginTop="40dp" android:gravity="center" + android:text="Where to save pictures?" + android:textAlignment="center" android:textSize="20sp" /> + <EditText android:id="@+id/et_where_save" android:layout_width="match_parent" android:layout_height="wrap_content" - android:inputType="text" - android:layout_marginTop="10dp" /> + android:layout_marginTop="10dp" + android:inputType="text" /> + <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Width of saved image" - android:textAlignment="center" android:layout_marginTop="40dp" android:gravity="center" + android:text="Width of saved image" + android:textAlignment="center" android:textSize="20sp" /> + <EditText android:id="@+id/et_save_width" android:layout_width="match_parent" android:layout_height="wrap_content" - android:inputType="numberDecimal" - android:layout_marginTop="10dp" /> + android:layout_marginTop="10dp" + android:inputType="numberDecimal" /> + <TextView android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Height of saved image" - android:textAlignment="center" android:layout_marginTop="40dp" android:gravity="center" + android:text="Height of saved image" + android:textAlignment="center" android:textSize="20sp" /> + <EditText android:id="@+id/et_save_height" android:layout_width="match_parent" android:layout_height="wrap_content" - android:inputType="numberDecimal" - android:layout_marginTop="10dp" /> + android:layout_marginTop="10dp" + android:inputType="numberDecimal" /> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="40dp" + android:gravity="center" + android:text="Color of app" + android:textAlignment="center" + android:textSize="20sp" /> + <RadioGroup + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:layout_marginTop="10dp" + android:id="@+id/radio_group" + android:orientation="vertical"> + + <RadioButton + android:id="@+id/radio_purple" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Purple" /> + + <RadioButton + android:id="@+id/radio_teal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Teal" /> + </RadioGroup> </LinearLayout> </FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 26c20e9..f17385f 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -13,7 +13,6 @@ <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item> <!-- Customize your theme here. --> </style> - <style name="Theme.LectorDeCodi.NoActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> |
