Verified Commit 256cf0a2 authored by HashikD's avatar HashikD
Browse files

Added note TextView

parent cb1e2a72
......@@ -33,18 +33,32 @@
android:src="@drawable/ic_status_on"
android:tint="@color/snowflakeOff" />
<TextView
android:id="@+id/note_tv"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/snowflake_logo"
android:layout_centerHorizontal="true"
android:layout_marginLeft="30dp"
android:layout_marginTop="30dp"
android:layout_marginRight="30dp"
android:fontFamily="@font/source_code_pro"
android:gravity="center"
android:text="@string/turn_on_note"
android:textSize="16sp"
android:visibility="visible" />
<TextView
android:id="@+id/users_served"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/snowflake_logo"
android:layout_below="@id/note_tv"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:layout_marginLeft="30dp"
android:layout_marginTop="30dp"
android:layout_marginRight="30dp"
android:fontFamily="@font/source_code_pro"
android:gravity="center"
android:paddingLeft="50dp"
android:paddingTop="10dp"
android:paddingRight="50dp"
android:textSize="16sp"
android:visibility="gone" />
......
......@@ -5,4 +5,6 @@
<string name="users_served_text">Number of users your Snowflake has helped circumvent censorship in the last 24 hours: $</string>
<string name="Snowflake_Off">Snowflake is Off</string>
<string name="Snowflake_On">Snowflake is On</string>
<string name="turn_on_note">Turn on Snowflake to help users circumvent censorship</string>
<string name="snowflake_ready_note">Your Snowflake is ready to help users circumvent censorship</string>
</resources>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment