aboutsummaryrefslogtreecommitdiff
path: root/android/app/src/main/res/layout/activity_main.xml
blob: 93508c3cb9cf1edf2226704a28f4c1273218b0c5 (plain)
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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	android:id="@+id/activity_main"
	android:layout_width="match_parent"
	android:layout_height="match_parent"
	android:background="@drawable/bg">

	<ProgressBar
		android:id="@+id/progressBar"
		style="@style/CustomProgressBar"
		android:layout_width="match_parent"
		android:layout_height="30dp"
		android:layout_centerInParent="true"
		android:layout_marginLeft="90dp"
		android:layout_marginRight="90dp"
		android:indeterminate="false"
		android:max="100"
		android:visibility="gone"
		tools:visibility="visible" />

	<TextView
		android:id="@+id/textView"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_below="@id/progressBar"
		android:layout_centerInParent="true"
		android:background="@android:color/transparent"
		android:text="@string/loading"
		android:textColor="#FEFEFE"
		android:visibility="gone"
		tools:visibility="visible" />

</RelativeLayout>
pan class="hl num">4]; buf2[1] = hex_chars[c & 0x0f]; ret.append(buf2); } return ret; } static inline std::string hex_encode(const std::string &data) { return hex_encode(data.c_str(), data.size()); } static inline bool hex_digit_decode(char hexdigit, unsigned char &value) { if (hexdigit >= '0' && hexdigit <= '9') value = hexdigit - '0'; else if (hexdigit >= 'A' && hexdigit <= 'F') value = hexdigit - 'A' + 10; else if (hexdigit >= 'a' && hexdigit <= 'f') value = hexdigit - 'a' + 10; else return false; return true; }