Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 099dc3d

Browse files
Initial commit
1 parent 8b93338 commit 099dc3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+3866
-0
lines changed
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<android.support.v4.widget.DrawerLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
5+
xmlns:tools="http://schemas.android.com/tools"
6+
android:id="@+id/drawer_layout"
7+
android:layout_width="match_parent"
8+
android:layout_height="match_parent"
9+
android:fitsSystemWindows="true"
10+
tools:openDrawer="start">
11+
12+
<include
13+
layout="@layout/toolbar"
14+
android:layout_width="match_parent"
15+
android:layout_height="match_parent"/>
16+
17+
<android.support.design.widget.NavigationView
18+
android:id="@+id/navigation_view"
19+
android:layout_width="wrap_content"
20+
android:layout_height="match_parent"
21+
android:layout_gravity="start"
22+
android:fitsSystemWindows="true"
23+
android:background="?attr/main_background"
24+
android:theme="@style/NavigationViewStyle"
25+
app:headerLayout="@layout/navigation_view_header"
26+
app:itemIconTint="@color/navigation_view_item_highlight"
27+
app:itemTextColor="@color/navigation_view_item_highlight"
28+
app:menu="@menu/menu_navigation_view"/>
29+
30+
</android.support.v4.widget.DrawerLayout>
+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
tools:ignore="MissingPrefix"
5+
android:layout_width="match_parent"
6+
android:layout_height="match_parent"
7+
android:fitsSystemWindows="true">
8+
9+
<android.support.v7.widget.Toolbar
10+
android:id="@+id/toolbar"
11+
android:layout_width="match_parent"
12+
android:layout_height="?attr/actionBarSize"
13+
android:minHeight="?attr/actionBarSize"
14+
android:background="?attr/colorPrimary" >
15+
16+
<TextView
17+
android:id="@+id/toolbar_title"
18+
android:layout_width="wrap_content"
19+
android:layout_height="match_parent"
20+
android:gravity="center_vertical"
21+
android:text="@string/muzei_settings"
22+
android:singleLine="true"
23+
android:ellipsize="end"
24+
android:textSize="20sp"
25+
android:textColor="?attr/toolbar_icon"
26+
fontPath="fonts/Font-Medium.ttf"/>
27+
28+
</android.support.v7.widget.Toolbar>
29+
30+
<ScrollView
31+
android:layout_width="match_parent"
32+
android:layout_height="match_parent"
33+
android:layout_below="@+id/toolbar">
34+
35+
<LinearLayout
36+
android:layout_width="wrap_content"
37+
android:layout_height="wrap_content"
38+
android:orientation="vertical"
39+
android:layout_gravity="center"
40+
android:layout_margin="@dimen/content_margin"
41+
android:gravity="center_vertical">
42+
43+
<TextView
44+
android:layout_width="match_parent"
45+
android:layout_height="wrap_content"
46+
android:text="@string/muzei_refresh_duration"
47+
android:textSize="18sp"
48+
android:textColor="?attr/colorAccent"
49+
android:gravity="center"
50+
fontPath="fonts/Font-Bold.ttf"/>
51+
52+
<LinearLayout
53+
android:layout_width="wrap_content"
54+
android:layout_height="wrap_content"
55+
android:orientation="horizontal"
56+
android:layout_gravity="center"
57+
android:gravity="center"
58+
android:layout_marginTop="10dp">
59+
60+
<NumberPicker
61+
android:id="@+id/number_picker"
62+
android:layout_width="wrap_content"
63+
android:layout_height="wrap_content"
64+
android:descendantFocusability="blocksDescendants"/>
65+
66+
<RadioButton
67+
android:id="@+id/minute"
68+
android:layout_width="wrap_content"
69+
android:layout_height="wrap_content"
70+
android:text="@string/minute"
71+
android:textColor="?android:attr/textColorPrimary"
72+
fontPath="fonts/Font-Regular.ttf"/>
73+
74+
<RadioButton
75+
android:id="@+id/hour"
76+
android:layout_width="wrap_content"
77+
android:layout_height="wrap_content"
78+
android:text="@string/hour"
79+
android:textColor="?android:attr/textColorPrimary"
80+
fontPath="fonts/Font-Regular.ttf"/>
81+
82+
</LinearLayout>
83+
84+
<android.support.v7.widget.AppCompatCheckBox
85+
android:id="@+id/wifi_only"
86+
android:layout_width="wrap_content"
87+
android:layout_height="wrap_content"
88+
android:layout_marginTop="20dp"
89+
android:text="@string/muzei_wifi_only"
90+
android:background="@android:color/transparent"
91+
android:textColor="?android:attr/textColorPrimary"
92+
fontPath="fonts/Font-Regular.ttf"/>
93+
94+
<android.support.v7.widget.AppCompatCheckBox
95+
android:id="@+id/downloaded_only"
96+
android:layout_width="wrap_content"
97+
android:layout_height="wrap_content"
98+
android:layout_marginTop="2dp"
99+
android:text="@string/muzei_downloaded_only"
100+
android:background="@android:color/transparent"
101+
android:textColor="?android:attr/textColorPrimary"
102+
fontPath="fonts/Font-Regular.ttf"/>
103+
104+
</LinearLayout>
105+
106+
</ScrollView>
107+
108+
<View
109+
android:layout_width="match_parent"
110+
android:layout_height="@dimen/toolbar_shadow"
111+
android:layout_below="@+id/toolbar"
112+
android:background="@drawable/toolbar_shadow" />
113+
114+
</RelativeLayout>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:orientation="vertical"
4+
android:layout_width="match_parent"
5+
android:layout_height="match_parent"
6+
android:background="@color/splashColor">
7+
8+
<ImageView
9+
android:layout_width="96dp"
10+
android:layout_height="96dp"
11+
android:src="@drawable/ic_splash_screen"
12+
android:layout_centerInParent="true"/>
13+
14+
</RelativeLayout>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<FrameLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
5+
xmlns:tools="http://schemas.android.com/tools"
6+
tools:ignore="MissingPrefix"
7+
android:layout_width="match_parent"
8+
android:layout_height="match_parent">
9+
10+
<ImageView
11+
android:id="@+id/wallpaper"
12+
android:layout_width="match_parent"
13+
android:layout_height="match_parent"
14+
android:scaleType="centerCrop" />
15+
16+
<FrameLayout
17+
android:layout_width="match_parent"
18+
android:layout_height="match_parent"
19+
android:fitsSystemWindows="true">
20+
21+
<android.support.design.widget.CoordinatorLayout
22+
android:id="@+id/coordinator_layout"
23+
android:layout_width="match_parent"
24+
android:layout_height="match_parent"
25+
android:fitsSystemWindows="true">
26+
27+
<android.support.design.widget.FloatingActionButton
28+
android:id="@+id/fab"
29+
android:layout_width="@dimen/fab_size"
30+
android:layout_height="@dimen/fab_size"
31+
android:layout_gravity="bottom|end"
32+
android:layout_marginRight="20dp"
33+
android:layout_marginEnd="20dp"
34+
android:layout_marginBottom="20dp"
35+
android:visibility="gone"
36+
app:backgroundTint="?attr/colorAccent" />
37+
38+
</android.support.design.widget.CoordinatorLayout>
39+
40+
<android.support.v7.widget.Toolbar
41+
android:id="@+id/toolbar"
42+
android:layout_width="match_parent"
43+
android:layout_height="?attr/actionBarSize"
44+
android:minHeight="?attr/actionBarSize"
45+
android:background="@color/wallpaperToolbar" >
46+
47+
<TextView
48+
android:id="@+id/toolbar_title"
49+
android:layout_width="wrap_content"
50+
android:layout_height="match_parent"
51+
android:gravity="center_vertical"
52+
android:text="@string/app_name"
53+
android:singleLine="true"
54+
android:ellipsize="end"
55+
android:textSize="20sp"
56+
fontPath="fonts/Font-Medium.ttf"/>
57+
58+
</android.support.v7.widget.Toolbar>
59+
60+
</FrameLayout>
61+
62+
<ProgressBar
63+
android:id="@+id/progress"
64+
android:layout_width="wrap_content"
65+
android:layout_height="wrap_content"
66+
android:layout_gravity="center"
67+
android:visibility="gone"
68+
style="?android:attr/progressBarStyleLarge"/>
69+
70+
</FrameLayout>

0 commit comments

Comments
 (0)