Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
This commit is contained in:
commit
25a489fe03
5 changed files with 42 additions and 1 deletions
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:pathData="M12,4.5C7,4.5 2.73,7.61 1,12c1.73,4.39 6,7.5 11,7.5s9.27,-3.11 11,-7.5c-1.73,-4.39 -6,-7.5 -11,-7.5zM12,17c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5zM12,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3 3,-1.34 3,-3 -1.34,-3 -3,-3z"/>
|
||||
</vector>
|
|
@ -250,6 +250,16 @@
|
|||
android:contentDescription="@null"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/status_sensitive_media_button"
|
||||
app:srcCompat="@drawable/ic_remove_red_eye_black_24dp"
|
||||
android:alpha="0.7"
|
||||
android:layout_alignParentTop="true"
|
||||
android:contentDescription="@null"
|
||||
android:padding="@dimen/status_sensitive_media_button_padding"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -189,6 +189,16 @@
|
|||
android:contentDescription="@null"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/status_sensitive_media_button"
|
||||
app:srcCompat="@drawable/ic_remove_red_eye_black_24dp"
|
||||
android:alpha="0.7"
|
||||
android:layout_alignParentTop="true"
|
||||
android:contentDescription="@null"
|
||||
android:padding="@dimen/status_sensitive_media_button_padding"
|
||||
android:visibility="gone" />
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
@ -20,4 +20,5 @@
|
|||
<dimen name="tab_page_margin">8dp</dimen>
|
||||
<dimen name="status_left_line_margin">38dp</dimen>
|
||||
<dimen name="text_content_margin">16dp</dimen>
|
||||
<dimen name="status_sensitive_media_button_padding">5dp</dimen>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue