-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathappwidget.xml
56 lines (49 loc) · 1.92 KB
/
appwidget.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/lib/com.androidwidgetpoc"
android:layout_width="match_parent"
android:layout_height="90dp"
android:background="@drawable/roundcorner"
android:orientation="vertical"
android:padding="@dimen/widget_margin"
android:weightSum="4">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="25dp"
android:gravity="center_horizontal"
android:weightSum="1">
<ImageButton
android:id="@+id/yetiLogo"
android:layout_width="20dp"
android:layout_height="match_parent"
android:layout_marginLeft="5dp"
android:adjustViewBounds="true"
android:background="@android:color/transparent"
android:scaleType="fitCenter"
android:src="@drawable/favicon_white"
android:visibility="visible"
app:srcCompat="@drawable/favicon_white" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:paddingLeft="5dp"
android:text="React Native Widget"
android:textColor="#FCFCFC"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/charms_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:baselineAligned="false"
android:gravity="center_horizontal"
android:orientation="horizontal" />
<TextView
android:id="@+id/loadingText"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textColor="#FCFCFC"
android:gravity="center"
android:text="Placeholder text" />
</LinearLayout>