aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-10-02 15:30:26 +0200
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-10-02 15:30:26 +0200
commitcb0be6f06ac8d542c38d6b55babe23e1a207de9f (patch)
treee40dbbc6f0720445b63fbb99b4ef6764eff55204 /src/main/res/layout
parentae45a3e55b294ab31c7ae1f522a35956f8125349 (diff)
do not set invideous as default and add config to first start settings screen
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/activity_set_settings.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_set_settings.xml b/src/main/res/layout/activity_set_settings.xml
index 313092c41..7197fb19a 100644
--- a/src/main/res/layout/activity_set_settings.xml
+++ b/src/main/res/layout/activity_set_settings.xml
@@ -220,6 +220,35 @@
android:layout_height="match_parent"
android:gravity="center_vertical" />
</TableRow>
+ <TableRow
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:paddingBottom="@dimen/card_padding_regular">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:ellipsize="end"
+ android:gravity="center_vertical"
+ android:text="@string/pref_use_invidious"
+ android:textAppearance="@style/TextAppearance.Conversations.Body1" />
+
+ <ImageButton
+ android:id="@+id/action_info_invideous"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:alpha="?attr/icon_alpha"
+ android:background="?attr/selectableItemBackgroundBorderless"
+ android:gravity="center_vertical"
+ android:padding="@dimen/image_button_padding"
+ android:src="@drawable/ic_help_circle_outline_black_24dp" />
+
+ <androidx.appcompat.widget.AppCompatCheckBox
+ android:id="@+id/invideous"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:gravity="center_vertical" />
+ </TableRow>
</TableLayout>
</LinearLayout>