Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15176885
activity_main.xml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
7 KB
Referenced Files
None
Subscribers
None
activity_main.xml
View Options
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:fab=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:paddingTop=
"@dimen/activity_vertical_margin"
tools:context=
"it.reyboz.bustorino.ActivityMain"
>
<!--
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="14dip" -->
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:animateLayoutChanges=
"true"
>
<ImageButton
android:id=
"@+id/QRButton"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"30dip"
android:layout_height=
"30dip"
android:layout_alignParentStart=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignBottom=
"@+id/searchButton"
android:layout_marginLeft=
"16dp"
android:background=
"@drawable/qrcode_button_custom"
android:contentDescription=
"@string/qrcode"
android:onClick=
"onSearchClick"
tools:ignore=
"NewApi"
/>
<EditText
android:id=
"@+id/busStopSearchByIDEditText"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"5dp"
android:layout_marginLeft=
"5dip"
android:layout_marginRight=
"5dip"
android:layout_toRightOf=
"@+id/QRButton"
android:layout_toLeftOf=
"@+id/searchButton"
android:layout_toStartOf=
"@+id/searchButton"
android:ems=
"10"
android:hint=
"@string/insert_bus_stop_number"
android:imeOptions=
"actionSearch"
android:inputType=
"number"
android:singleLine=
"true"
>
<requestFocus>
</requestFocus>
</EditText>
<!--android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"-->
<EditText
android:id=
"@+id/busStopSearchByNameEditText"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"5dp"
android:layout_marginLeft=
"5dip"
android:layout_marginRight=
"5dip"
android:layout_toRightOf=
"@+id/QRButton"
android:layout_toLeftOf=
"@+id/searchButton"
android:layout_toStartOf=
"@+id/searchButton"
android:ems=
"10"
android:hint=
"@string/insert_bus_stop_name"
android:imeOptions=
"actionSearch"
android:singleLine=
"true"
android:visibility=
"gone"
>
<requestFocus>
</requestFocus>
</EditText>
<ImageButton
android:id=
"@+id/searchButton"
style=
"?android:attr/borderlessButtonStyle"
android:layout_width=
"40dip"
android:layout_height=
"40dip"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_alignTop=
"@+id/busStopSearchByIDEditText"
android:layout_marginRight=
"16dp"
android:background=
"@drawable/search_button_custom"
android:contentDescription=
"@string/search"
android:onClick=
"onSearchClick"
tools:ignore=
"NewApi"
/>
<ProgressBar
android:id=
"@+id/progressBar"
style=
"?android:attr/progressBarStyleHorizontal"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentRight=
"true"
android:layout_alignParentStart=
"true"
android:layout_below=
"@+id/searchButton"
android:layout_marginLeft=
"16dip"
android:layout_marginRight=
"16dp"
android:indeterminateOnly=
"true"
android:visibility=
"gone"
/>
<TextView
android:id=
"@+id/busStopNameTextView"
android:layout_width=
"wrap_content"
android:layout_height=
"48dip"
android:layout_alignParentEnd=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentRight=
"true"
android:layout_alignParentStart=
"true"
android:layout_below=
"@+id/searchButton"
android:layout_marginLeft=
"16dip"
android:layout_marginRight=
"16dp"
android:layout_marginTop=
"10dp"
android:background=
"?android:attr/selectableItemBackground"
android:clickable=
"true"
android:gravity=
"center_vertical"
android:onClick=
"addInFavorites"
android:textAppearance=
"?android:attr/textAppearanceMedium"
android:visibility=
"gone"
tools:ignore=
"NewApi"
/>
<TextView
android:id=
"@+id/howDoesItWorkTextView"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/busStopNameTextView"
android:layout_marginBottom=
"10dp"
android:layout_marginLeft=
"16dip"
android:layout_marginRight=
"16dp"
android:layout_toLeftOf=
"@+id/hideHintButton"
android:text=
"@string/howDoesItWork"
android:textAppearance=
"?android:attr/textAppearanceSmall"
android:textColor=
"@color/blue_500"
android:visibility=
"gone"
/>
<Button
android:id=
"@+id/hideHintButton"
style=
"?android:attr/buttonStyleSmall"
android:layout_width=
"85dip"
android:layout_height=
"wrap_content"
android:layout_alignBottom=
"@+id/howDoesItWorkTextView"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"16dp"
android:background=
"@drawable/bus_background"
android:onClick=
"onHideHint"
android:text=
"@string/hint_button"
android:textColor=
"@color/grey_100"
android:textSize=
"19sp"
android:visibility=
"gone"
/>
<android.support.v4.widget.SwipeRefreshLayout
android:id=
"@+id/swipeRefreshLayout"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_below=
"@+id/howDoesItWorkTextView"
android:animateLayoutChanges=
"true"
android:visibility=
"gone"
>
<ListView
android:id=
"@+id/resultsListView"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:clickable=
"true"
android:descendantFocusability=
"blocksDescendants"
android:visibility=
"gone"
>
</ListView>
</android.support.v4.widget.SwipeRefreshLayout>
<com.melnykov.fab.FloatingActionButton
android:id=
"@+id/floatingActionButton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_gravity=
"bottom|end"
android:layout_margin=
"16dp"
android:onClick=
"onToggleKeyboardLayout"
android:src=
"@drawable/alphabetical"
fab:fab_colorNormal=
"@color/teal_300"
fab:fab_colorPressed=
"@color/teal_200"
fab:fab_colorRipple=
"@color/teal_200"
fab:fab_shadow=
"true"
fab:fab_type=
"normal"
/>
</RelativeLayout>
</RelativeLayout>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 19, 03:36 (40 m, 55 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264564
Default Alt Text
activity_main.xml (7 KB)
Attached To
Mode
R28 Libre BusTO staging area
Attached
Detach File
Event Timeline