Update the UI

This commit is contained in:
Tommaso Berlose
2020-05-20 20:46:21 +02:00
parent 863b8f79d8
commit e1d2f5a782
43 changed files with 384 additions and 157 deletions

View File

@ -6,7 +6,7 @@
name="viewModel"
type="com.tommasoberlose.anotherwidget.ui.viewmodels.MainViewModel" />
</data>
<ScrollView
<com.tommasoberlose.anotherwidget.components.FixedFocusScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/scrollView"
@ -334,7 +334,8 @@
android:rotation="90"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="8dp"
@ -350,6 +351,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<com.google.android.material.switchmaterial.SwitchMaterial
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:id="@+id/show_dividers_toggle"
android:buttonTint="@color/colorAccent" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
@ -392,5 +399,5 @@
</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
</com.tommasoberlose.anotherwidget.components.FixedFocusScrollView>
</layout>