mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 21:03:38 +00:00
Added an attribution label to the PathActivity
This commit is contained in:
parent
789d2b4a75
commit
e815a43cdf
@ -111,6 +111,7 @@ class PathActivity : PassphraseRequiredActionBarActivity() {
|
||||
for (row in rows) {
|
||||
binding.pathRowsContainer.addView(row)
|
||||
}
|
||||
binding.pathAttribution.visibility = View.VISIBLE
|
||||
if (isAnimated) {
|
||||
binding.spinner.fadeOut()
|
||||
} else {
|
||||
|
@ -41,6 +41,21 @@
|
||||
android:layout_centerInParent="true"
|
||||
app:SpinKit_Color="?android:textColorPrimary" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/pathAttribution"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/pathRowsContainer"
|
||||
android:layout_marginLeft="@dimen/large_spacing"
|
||||
android:layout_marginTop="@dimen/small_spacing"
|
||||
android:layout_marginRight="@dimen/large_spacing"
|
||||
android:textSize="@dimen/very_small_font_size"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:alpha="0.6"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/activity_path_attribution"
|
||||
android:visibility="invisible" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<Button
|
||||
|
@ -1079,5 +1079,6 @@
|
||||
|
||||
<string name="unread_marker">Unread Messages</string>
|
||||
<string name="auto_deletes_in">Auto-deletes in %1$s</string>
|
||||
<string name="activity_path_attribution">Path location data provided by MaxMind</string>
|
||||
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user