码迷,mamicode.com
首页 >  
搜索关键字:layout_height    ( 604个结果)
Android技术——高级UI:视图拖拽(下)
三、用视图拖拽+GridLayout实现简单移图游戏 这只实现了简单的最核心的UI,没有写判赢逻辑。 1、/YituGame/res/layout/activity_game_main_line.xml文件     android:layout_width="match_parent"     android:layout_height="match_parent"     andr...
分类:移动开发   时间:2015-03-06 10:04:44    阅读次数:272
Android--OnKeyListner
main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertica...
分类:移动开发   时间:2015-03-05 19:37:04    阅读次数:147
使用popupwindow设计出popupmenu效果的菜单
1、popupwindow的布局文件:menu_layout.xml                 android:layout_width="match_parent"     android:layout_height="match_parent"     android:orientation="vertical" >             android:id="@...
分类:Windows程序   时间:2015-03-05 17:06:56    阅读次数:184
Android--页面跳转
1.页面一main.xml代码如下: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="ve...
分类:移动开发   时间:2015-03-04 22:49:46    阅读次数:204
Android学习——ViewPage实现多页面滑动效果
第一步<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent" android:layout_height="match_parent"tools:context=".MainActivity"> <android.support.v4..
分类:移动开发   时间:2015-03-04 06:24:04    阅读次数:185
Android学习——HorizontalScollview水平滚动控件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_par...
分类:移动开发   时间:2015-03-03 11:42:19    阅读次数:137
Android倒计时
感谢极客学院的视频布局文件:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" and..
分类:移动开发   时间:2015-03-02 19:16:05    阅读次数:209
android edittext 限制输入框小数位数
先看下XML布局文件 <EditText android:id="@+id/et" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/tv_cou...
分类:移动开发   时间:2015-02-28 18:38:34    阅读次数:152
======GridLayout======
<android.support.v7.widget.GridLayout xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="wrap_content" android:layout_height="wrap_content" app:c...
分类:其他好文   时间:2015-02-28 10:18:41    阅读次数:241
在ScrollView添加一个ListView造成的滚动问题的简单解决办法()
正常来说,在ScrollView添加一个ListView后在真机上只会显示ListView的一行多一点,我也不理解为什么会这样,后来我把ListView的layout_height改成400dip,而不是用match_parent和wrap_content,我发现这样的话ListView就显示的多了...
分类:其他好文   时间:2015-02-27 10:03:47    阅读次数:129
共604条   上一页 1 ... 38 39 40 41 42 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!