forked from upstream-mirrors/OpenTracks
bug fix: fix vertical layout in choose_activity_type_.xml
This commit is contained in:
@@ -14,57 +14,56 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
style="@style/ScrollView" >
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:orientation="vertical" >
|
||||||
|
<GridView
|
||||||
|
android:id="@+id/choose_activity_type_grid_view"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:numColumns="4"
|
||||||
|
android:padding="4dp"
|
||||||
|
android:stretchMode="spacingWidth"
|
||||||
|
android:verticalSpacing="4dp" />
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
android:id="@+id/choose_activity_type_weight_container"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<GridView
|
<TextView
|
||||||
android:id="@+id/choose_activity_type_grid_view"
|
android:id="@+id/choose_activity_type_weight_label"
|
||||||
|
android:layout_marginBottom="2dp"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:paddingLeft="12dp"
|
||||||
|
style="@style/TextMedium" />
|
||||||
|
<FrameLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="fill_parent" >
|
||||||
android:numColumns="4"
|
<EditText
|
||||||
android:padding="4dp"
|
android:id="@+id/choose_activity_type_weight"
|
||||||
android:stretchMode="spacingWidth"
|
android:inputType="numberDecimal"
|
||||||
android:verticalSpacing="4dp" />
|
android:layout_marginBottom="4dp"
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/choose_activity_type_weight_container"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:orientation="vertical" >
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/choose_activity_type_weight_label"
|
|
||||||
android:layout_marginBottom="2dp"
|
|
||||||
android:layout_marginLeft="16dp"
|
android:layout_marginLeft="16dp"
|
||||||
android:layout_marginRight="16dp"
|
android:layout_marginRight="16dp"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="2dp"
|
||||||
android:paddingLeft="12dp"
|
android:layout_width="match_parent"
|
||||||
|
android:selectAllOnFocus="true"
|
||||||
|
android:singleLine="true"
|
||||||
style="@style/TextMedium" />
|
style="@style/TextMedium" />
|
||||||
<FrameLayout
|
<ImageButton
|
||||||
|
android:background="@android:color/transparent"
|
||||||
|
android:contentDescription="@string/menu_delete"
|
||||||
|
android:id="@+id/choose_activity_type_weight_image_button"
|
||||||
|
android:layout_gravity="right|center_vertical"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent" >
|
android:layout_marginRight="16dp"
|
||||||
<EditText
|
android:layout_width="wrap_content"
|
||||||
android:id="@+id/choose_activity_type_weight"
|
android:paddingRight="12dp"
|
||||||
android:inputType="numberDecimal"
|
android:src="@android:drawable/ic_menu_close_clear_cancel" />
|
||||||
android:layout_marginBottom="4dp"
|
</FrameLayout>
|
||||||
android:layout_marginLeft="16dp"
|
|
||||||
android:layout_marginRight="16dp"
|
|
||||||
android:layout_marginTop="2dp"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:selectAllOnFocus="true"
|
|
||||||
android:singleLine="true"
|
|
||||||
style="@style/TextMedium" />
|
|
||||||
<ImageButton
|
|
||||||
android:background="@android:color/transparent"
|
|
||||||
android:id="@+id/choose_activity_type_weight_image_button"
|
|
||||||
android:layout_gravity="right|center_vertical"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginRight="16dp"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:paddingRight="12dp"
|
|
||||||
android:src="@android:drawable/ic_menu_close_clear_cancel" />
|
|
||||||
</FrameLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</LinearLayout>
|
||||||
Reference in New Issue
Block a user