apkfuckery/com.discord/res/layout/widget_friends_add.xml
2020-03-27 23:23:51 +01:00

15 lines
No EOL
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" style="@style/AppTheme.AppBarLayout.Flat">
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
<com.google.android.material.tabs.TabLayout android:id="@id/action_bar_tabs" android:background="?colorBackgroundSecondary" android:layout_width="fill_parent" android:layout_height="wrap_content" app:tabGravity="fill" app:tabIndicatorColor="?tabSelectedTextColor" app:tabIndicatorHeight="0.0dip" app:tabMaxWidth="0.0dip" app:tabMode="fixed" app:tabSelectedTextColor="?tabSelectedTextColor" app:tabTextAppearance="@style/App.TabLayout.FriendsAdd.Text" app:tabTextColor="?tabTextColor">
<com.google.android.material.tabs.TabItem android:id="@id/tab_item_username" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/username" />
<com.google.android.material.tabs.TabItem android:id="@id/tab_item_nearby" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/nearby_scan" />
</com.google.android.material.tabs.TabLayout>
</com.google.android.material.appbar.AppBarLayout>
<com.discord.app.AppViewFlipper android:id="@id/friends_add_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/action_bar_toolbar_layout">
<fragment android:id="@id/friends_add_by_id" android:layout_width="fill_parent" android:layout_height="fill_parent" class="com.discord.widgets.friends.WidgetFriendsAddById" />
<fragment android:id="@id/friends_add_nearby" android:layout_width="fill_parent" android:layout_height="fill_parent" class="com.discord.widgets.friends.WidgetFriendsFindNearby" />
</com.discord.app.AppViewFlipper>
</RelativeLayout>