Skip to content

Commit 8fc935b

Browse files
committed
Added resource files
Forgot to commit them before...
1 parent 07fb319 commit 8fc935b

3 files changed

Lines changed: 96 additions & 0 deletions

File tree

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
android:layout_width="match_parent"
5+
android:layout_height="match_parent"
6+
android:clipToPadding="false"
7+
android:orientation="vertical"
8+
android:background="?android:attr/windowBackground">
9+
10+
<View
11+
android:layout_width="match_parent"
12+
android:layout_height="4dp"
13+
android:background="?attr/toolbar_shadow" />
14+
15+
<LinearLayout
16+
android:id="@+id/empty_state_view"
17+
android:layout_width="match_parent"
18+
android:layout_height="match_parent"
19+
android:gravity="center"
20+
android:orientation="vertical"
21+
android:visibility="gone"
22+
tools:visibility="gone">
23+
24+
<org.schabi.newpipe.views.NewPipeTextView
25+
android:layout_width="wrap_content"
26+
android:layout_height="wrap_content"
27+
android:layout_gravity="center"
28+
android:layout_marginBottom="10dp"
29+
android:fontFamily="monospace"
30+
android:text="╰(°●°╰)"
31+
android:textSize="35sp"
32+
tools:ignore="HardcodedText,UnusedAttribute" />
33+
34+
<org.schabi.newpipe.views.NewPipeTextView
35+
android:layout_width="wrap_content"
36+
android:layout_height="wrap_content"
37+
android:layout_gravity="center"
38+
android:text="@string/search_no_results"
39+
android:textSize="24sp" />
40+
41+
</LinearLayout>
42+
43+
<androidx.recyclerview.widget.RecyclerView
44+
android:id="@+id/list"
45+
android:layout_width="match_parent"
46+
android:layout_height="match_parent"
47+
android:clipToPadding="false"
48+
android:scrollbars="vertical" />
49+
</LinearLayout>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
android:layout_width="match_parent"
5+
android:layout_height="wrap_content"
6+
android:background="?android:attr/selectableItemBackground"
7+
android:orientation="vertical"
8+
android:padding="16dp"
9+
android:paddingTop="12dp"
10+
android:paddingBottom="12dp">
11+
12+
<TextView
13+
android:id="@+id/title"
14+
android:layout_width="match_parent"
15+
android:layout_height="wrap_content"
16+
android:textColor="?android:attr/editTextColor"
17+
android:textSize="16sp"
18+
tools:text="Title" />
19+
20+
<TextView
21+
android:id="@+id/summary"
22+
android:layout_width="match_parent"
23+
android:layout_height="wrap_content"
24+
android:textColor="?android:attr/editTextColor"
25+
android:textSize="14sp"
26+
tools:text="Summary" />
27+
28+
<TextView
29+
android:id="@+id/breadcrumbs"
30+
android:layout_width="match_parent"
31+
android:layout_height="wrap_content"
32+
android:alpha="0.6"
33+
android:textColor="?android:attr/editTextColor"
34+
android:textSize="14sp"
35+
tools:text="Breadcrumb" />
36+
</LinearLayout>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<menu xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto">
4+
5+
<item
6+
android:id="@+id/action_search"
7+
android:icon="@drawable/ic_search"
8+
android:orderInCategory="1"
9+
android:title="@string/search"
10+
app:showAsAction="always" />
11+
</menu>

0 commit comments

Comments
 (0)