Guest User

Untitled

a guest
Sep 23rd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. <android.support.v7.widget.Toolbar
  2. android:id="@+id/toolbar"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:background="?attr/colorPrimary"
  6. android:minHeight="1000dp"
  7. app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
  8. app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
  9. </LinearLayout>
  10.  
  11. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  12. xmlns:app="http://schemas.android.com/apk/res-auto"
  13. xmlns:tools="http://schemas.android.com/tools"
  14. android:id="@+id/auth_request_layout"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"
  17. tools:context=".AuthRequestActivity">
  18.  
  19. <android.support.v7.widget.Toolbar
  20. android:id="@+id/activity_auth_request_toolbar"
  21. android:layout_width="match_parent"
  22. android:layout_height="5dp"
  23. android:layout_alignParentTop="true"
  24. android:background="@color/somecompanycolor"
  25. android:minHeight="@dimen/toolbar_height"
  26. app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
  27. app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
  28.  
  29. <fragment
  30. android:id="@+id/activity_auth_request_fragment"
  31. android:name="someexternalsdk"
  32. android:layout_width="match_parent"
  33. android:layout_height="0dp"
  34. android:layout_alignParentBottom="true"
  35. android:layout_below="@id/activity_auth_request_toolbar" />
  36.  
  37. </android.support.constraint.ConstraintLayout>
  38.  
  39. mToolbar = findViewById(R.id.activity_auth_request_toolbar);
  40. setSupportActionBar(mToolbar);
  41. getSupportActionBar().setTitle("Request");
Add Comment
Please, Sign In to add comment