|
1 |
| -<?xml version="1.0" encoding="utf-8"?> |
2 |
| -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 |
| - xmlns:app="http://schemas.android.com/apk/res-auto" |
4 |
| - xmlns:tools="http://schemas.android.com/tools" |
5 |
| - android:layout_width="match_parent" |
6 |
| - android:layout_height="match_parent" |
7 |
| - tools:context="com.folioreader.activity.ContentHighlightActivity"> |
8 |
| - <android.support.v7.widget.Toolbar |
9 |
| - android:id="@+id/toolbar" |
10 |
| - android:layout_width="match_parent" |
11 |
| - android:layout_height="50dp" |
12 |
| - android:layout_margin="0dp" |
13 |
| - android:alpha="0.8" |
14 |
| - android:background="@color/white" |
15 |
| - android:contentInsetLeft="0dp" |
16 |
| - android:contentInsetRight="0dp" |
17 |
| - android:contentInsetStart="0dp" |
18 |
| - android:padding="0dp" |
19 |
| - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" |
20 |
| - app:contentInsetEnd="0dp" |
21 |
| - app:contentInsetLeft="0dp" |
22 |
| - app:contentInsetRight="0dp" |
23 |
| - app:contentInsetStart="0dp"> |
24 |
| - <RelativeLayout |
25 |
| - android:layout_width="match_parent" |
26 |
| - android:layout_height="match_parent"> |
27 |
| - <ImageView |
28 |
| - android:id="@+id/btn_close" |
29 |
| - android:layout_width="wrap_content" |
30 |
| - android:layout_height="wrap_content" |
31 |
| - android:layout_alignParentLeft="true" |
32 |
| - android:layout_centerInParent="true" |
33 |
| - android:padding="20dp" |
34 |
| - android:scaleType="centerCrop" |
35 |
| - android:src="@drawable/ic_close_green" /> |
36 |
| - <LinearLayout |
37 |
| - android:layout_width="170dp" |
38 |
| - android:layout_height="wrap_content" |
39 |
| - android:layout_centerHorizontal="true" |
40 |
| - android:layout_centerInParent="true" |
41 |
| - android:padding="1.8dp" |
42 |
| - android:background="@drawable/btn_contents_highlights" |
43 |
| - android:orientation="horizontal"> |
44 |
| - <TextView |
45 |
| - android:id="@+id/btn_contents" |
46 |
| - android:layout_width="0dp" |
47 |
| - android:layout_height="match_parent" |
48 |
| - android:layout_weight="1" |
49 |
| - android:padding="5dp" |
50 |
| - android:gravity="center|end" |
51 |
| - android:background="@drawable/style_back_color_selector" |
52 |
| - android:text="@string/contents" |
53 |
| - android:textColor="@drawable/content_highlight_text_selector" |
54 |
| - android:textSize="16sp" /> |
55 |
| - <TextView |
56 |
| - android:id="@+id/btn_highlights" |
57 |
| - android:layout_width="0dp" |
58 |
| - android:layout_height="match_parent" |
59 |
| - android:layout_weight="1" |
60 |
| - android:padding="5dp" |
61 |
| - android:background="@drawable/style_back_color_selector" |
62 |
| - android:gravity="center|start" |
63 |
| - android:text="@string/highlights" |
64 |
| - android:textColor="@drawable/content_highlight_text_selector" |
65 |
| - android:textSize="16sp" /> |
66 |
| - </LinearLayout> |
67 |
| - <View |
68 |
| - android:id="@+id/view" |
69 |
| - android:layout_width="match_parent" |
70 |
| - android:layout_height="0.5dp" |
71 |
| - android:layout_alignParentBottom="true" |
72 |
| - android:background="@android:color/black" /> |
73 |
| - </RelativeLayout> |
74 |
| - </android.support.v7.widget.Toolbar> |
75 |
| - <FrameLayout android:id="@+id/parent" |
76 |
| - android:layout_width="match_parent" |
77 |
| - android:layout_height="match_parent" |
78 |
| - android:layout_below="@id/toolbar"> |
79 |
| - </FrameLayout> |
80 |
| -</RelativeLayout> |
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + xmlns:tools="http://schemas.android.com/tools" |
| 5 | + android:layout_width="match_parent" |
| 6 | + android:layout_height="match_parent" |
| 7 | + tools:context="com.folioreader.activity.ContentHighlightActivity"> |
| 8 | + <android.support.v7.widget.Toolbar |
| 9 | + android:id="@+id/toolbar" |
| 10 | + android:layout_width="match_parent" |
| 11 | + android:layout_height="50dp" |
| 12 | + android:layout_margin="0dp" |
| 13 | + android:alpha="0.8" |
| 14 | + android:background="@color/white" |
| 15 | + android:contentInsetLeft="0dp" |
| 16 | + android:contentInsetRight="0dp" |
| 17 | + android:contentInsetStart="0dp" |
| 18 | + android:padding="0dp" |
| 19 | + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" |
| 20 | + app:contentInsetEnd="0dp" |
| 21 | + app:contentInsetLeft="0dp" |
| 22 | + app:contentInsetRight="0dp" |
| 23 | + app:contentInsetStart="0dp"> |
| 24 | + <RelativeLayout |
| 25 | + android:layout_width="match_parent" |
| 26 | + android:layout_height="match_parent"> |
| 27 | + <ImageView |
| 28 | + android:id="@+id/btn_close" |
| 29 | + android:layout_width="wrap_content" |
| 30 | + android:layout_height="wrap_content" |
| 31 | + android:layout_alignParentLeft="true" |
| 32 | + android:layout_centerInParent="true" |
| 33 | + android:padding="20dp" |
| 34 | + android:scaleType="centerCrop" |
| 35 | + android:src="@drawable/ic_close_green" /> |
| 36 | + <LinearLayout |
| 37 | + android:layout_width="170dp" |
| 38 | + android:layout_height="wrap_content" |
| 39 | + android:layout_centerHorizontal="true" |
| 40 | + android:layout_centerInParent="true" |
| 41 | + android:padding="1.8dp" |
| 42 | + android:background="@drawable/btn_contents_highlights" |
| 43 | + android:orientation="horizontal"> |
| 44 | + <TextView |
| 45 | + android:id="@+id/btn_contents" |
| 46 | + android:layout_width="0dp" |
| 47 | + android:layout_height="match_parent" |
| 48 | + android:layout_weight="1" |
| 49 | + android:padding="5dp" |
| 50 | + android:gravity="center|end" |
| 51 | + android:background="@drawable/style_back_color_selector" |
| 52 | + android:text="@string/contents" |
| 53 | + android:textColor="@drawable/content_highlight_text_selector" |
| 54 | + android:textSize="16sp" /> |
| 55 | + <TextView |
| 56 | + android:id="@+id/btn_highlights" |
| 57 | + android:layout_width="0dp" |
| 58 | + android:layout_height="match_parent" |
| 59 | + android:layout_weight="1" |
| 60 | + android:padding="5dp" |
| 61 | + android:background="@drawable/style_back_color_selector" |
| 62 | + android:gravity="center|start" |
| 63 | + android:text="@string/highlights" |
| 64 | + android:textColor="@drawable/content_highlight_text_selector" |
| 65 | + android:textSize="16sp" /> |
| 66 | + </LinearLayout> |
| 67 | + <View |
| 68 | + android:id="@+id/view" |
| 69 | + android:layout_width="match_parent" |
| 70 | + android:layout_height="0.5dp" |
| 71 | + android:layout_alignParentBottom="true" |
| 72 | + android:background="@android:color/black" /> |
| 73 | + </RelativeLayout> |
| 74 | + </android.support.v7.widget.Toolbar> |
| 75 | + <FrameLayout android:id="@+id/parent" |
| 76 | + android:layout_width="match_parent" |
| 77 | + android:layout_height="match_parent" |
| 78 | + android:layout_below="@id/toolbar"> |
| 79 | + </FrameLayout> |
| 80 | +</RelativeLayout> |
0 commit comments