2019-07-24 11:27:29 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout style="@style/UiKit.ViewGroup.Page"
|
2020-03-26 05:26:27 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-07-24 11:27:29 +00:00
|
|
|
<com.google.android.material.appbar.AppBarLayout android:id="@id/action_bar_toolbar_layout" style="@style/AppTheme.AppBarLayout.Flat">
|
2019-10-23 04:50:18 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar style="@style/AppTheme.Toolbar" />
|
2020-03-26 05:26:27 +00:00
|
|
|
<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>
|
2019-07-24 11:27:29 +00:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2020-03-26 05:26:27 +00:00
|
|
|
<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>
|
2019-07-24 11:27:29 +00:00
|
|
|
</RelativeLayout>
|