Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. android:layout="@layout/currencycodes"
  2.  
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <PreferenceScreen
  5. xmlns:android="http://schemas.android.com/apk/res/android"
  6. android:key="application_preferences">
  7. <PreferenceCategory>
  8. <PreferenceScreen
  9. android:key="url_settings"
  10. android:title="@string/url_settings"
  11. android:summary="@string/summary_url_settings">
  12. </PreferenceScreen>
  13.  
  14. <PreferenceScreen
  15. android:key="currency_codes"
  16. android:title="@string/left_handed"
  17. android:summary="@string/summary_left_handed">
  18. <Preference
  19. android:key="currency_exchanges"
  20. android:layout="@layout/currencycodes"/>
  21. </PreferenceScreen>
  22. <EditTextPreference
  23. android:key="url_exchange_rate"
  24. android:title="@string/url_exchange_rate_settings"
  25. android:summary="@string/summary_url_exchange_rate"
  26. android:enabled = "false"/>
  27. </PreferenceCategory>
  28. </PreferenceScreen>
  29.  
  30. <?xml version="1.0" encoding="utf-8"?>
  31. <android.support.constraint.ConstraintLayout
  32. xmlns:android="http://schemas.android.com/apk/res/android"
  33. xmlns:app="http://schemas.android.com/apk/res-auto"
  34. xmlns:tools="http://schemas.android.com/tools"
  35. android:id="@+id/activity_main"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:focusable="true"
  39. android:focusableInTouchMode="true"
  40. tools:context=".MainActivity">
  41.  
  42. <GridView
  43. android:layout_width="328dp"
  44. android:layout_height="479dp"
  45. android:layout_marginTop="16dp"
  46. app:layout_constraintTop_toTopOf="parent" android:layout_marginStart="16dp"
  47. app:layout_constraintLeft_toLeftOf="parent" android:layout_marginEnd="16dp"
  48. app:layout_constraintRight_toRightOf="parent"
  49. app:layout_constraintBottom_toBottomOf="parent" android:layout_marginBottom="16dp"
  50. android:id="@+id/grdExchanges" android:scrollbars="horizontal|vertical"
  51. android:smoothScrollbar="true" tools:textAlignment="center"
  52. android:verticalScrollbarPosition="defaultPosition"/>
  53. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement