Archived
Revised colour picker dialog to show colour change without closing and re-opening the dialog
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/background">
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@color/background"
|
||||
tools:context=".SettingsFragment">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/nsvsettings"
|
||||
@@ -574,7 +576,7 @@
|
||||
android:textColor="@color/textcolor"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintStart_toStartOf="@+id/txtLicences"
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtWhatittook" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtWhatittook"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtTermsTwo"
|
||||
@@ -600,7 +602,8 @@
|
||||
app:layout_constraintBottom_toTopOf="@+id/txtPrivacyP"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtWhatittook" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/txtWhatittook"
|
||||
android:onClick="onClick"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtPrivacyP"
|
||||
|
||||
@@ -21,4 +21,10 @@
|
||||
android:textColor="@color/textcolor"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:id="@+id/item_text_no_lang"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_textviewtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:textSize="22sp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:textColor="@color/textcolor"
|
||||
android:textAlignment="center"/>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="0dp"
|
||||
android:paddingBottom="0dp">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user