Futureproof trusted credentials for multiple profiles
Made use of the shiny LayoutTransition.CHANGING animations. Now it's a little more obvious where things are going when tapping a header. Future work: maybe show the usernames / user icons in there too? This could get complicated, and it'll need to be done everywhere at once. Change-Id: Id7396235abe6218d591d16db91af0f56a83a7bcd Fix: 28310002
This commit is contained in:
@@ -54,20 +54,8 @@
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<include
|
||||
android:id="@+id/system_personal_container"
|
||||
layout="@layout/trusted_credential_list_container"/>
|
||||
<include
|
||||
android:id="@+id/system_work_container"
|
||||
layout="@layout/trusted_credential_list_container"/>
|
||||
|
||||
<ExpandableListView
|
||||
android:id="@+id/system_expandable_list"
|
||||
style="@style/TrustedCredentialsList"
|
||||
android:visibility="gone">
|
||||
</ExpandableListView>
|
||||
android:visibility="gone"
|
||||
android:animateLayoutChanges="true">
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -91,21 +79,8 @@
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone">
|
||||
|
||||
<include
|
||||
android:id="@+id/user_personal_container"
|
||||
layout="@layout/trusted_credential_list_container"/>
|
||||
|
||||
<include
|
||||
android:id="@+id/user_work_container"
|
||||
layout="@layout/trusted_credential_list_container"/>
|
||||
|
||||
<ExpandableListView
|
||||
android:id="@+id/user_expandable_list"
|
||||
style="@style/TrustedCredentialsList"
|
||||
android:visibility="gone">
|
||||
</ExpandableListView>
|
||||
android:visibility="gone"
|
||||
android:animateLayoutChanges="true">
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
Reference in New Issue
Block a user