android 模仿qq切换用户,[转]Android:布局实例之模仿QQ登录界面

ImageButton

68 android:layout_width="wrap_content"

69 android:layout_height="wrap_content"

70 android:layout_alignBottom="@+id/login_edit_account"

71 android:layout_alignRight="@+id/login_edit_account"

72 android:layout_alignTop="@+id/login_edit_account"

73 android:layout_marginRight="1dp"

74 android:background="@drawable/more_select" />

75

76

77

78

79 android:id="@+id/login_edit_pwd"

80 android:layout_width="wrap_content"

81 android:layout_height="wrap_content"

82 android:layout_alignLeft="@+id/login_edit_account"

83 android:layout_alignRight="@+id/login_edit_account"

84 android:layout_below="@+id/login_edit_account"

85 android:background="@drawable/qq_edit_login"

86 android:paddingLeft="45sp"

87 android:text="输入帐号"

88 android:textColor="#ddd" />

89

90

91 android:layout_width="wrap_content"

92 android:layout_height="wrap_content"

93 android:layout_alignBottom="@+id/login_edit_pwd"

94 android:layout_alignLeft="@+id/login_edit_pwd"

95 android:layout_alignTop="@+id/login_edit_pwd"

96 android:layout_marginRight="15.0sp"

97 android:gravity="center_vertical"

98 android:paddingLeft="7sp"

99 android:text="密码"

100 android:textSize="16dp" />

101

102

103

104

105 android:layout_width="wrap_content"

106 android:layout_height="wrap_content"

107 android:layout_alignBaseline="@+id/login_btn_login"

108 android:button="@drawable/qq_btn_check"

109 android:text="记住密码" />

110

111

112

113

114 android:id="@+id/login_btn_login"

115 android:layout_width="130px"

116 android:layout_height="42px"

117 android:layout_alignParentRight="true"

118 android:layout_below="@+id/login_edit_pwd"

119 android:layout_marginRight="7px"

120 android:layout_marginTop="12px"

121 android:text="登录" />

122

123

124

125

126 android:layout_width="match_parent"

127 android:layout_height="wrap_content"

128 android:layout_marginLeft="20px"

129 android:layout_marginRight="20px"

130 android:stretchColumns="1" >

131

132

133

134

135 style="@style/MyCheckBox"

136 android:layout_width="wrap_content"

137 android:layout_height="wrap_content"

138 android:text="隐身登录" />

139

140

141 style="@style/MyCheckBox"

142 android:layout_width="wrap_content"

143 android:layout_height="wrap_content"

144 android:layout_gravity="right"

145 android:text="开启震动" />

146

147

148

149

150

151 style="@style/MyCheckBox"

152 android:layout_width="wrap_content"

153 android:layout_height="wrap_content"

154 android:text="接收群消息" />

155

156

157 style="@style/MyCheckBox"

158 android:layout_width="wrap_content"

159 android:layout_height="wrap_content"

160 android:layout_gravity="right"

161 android:text="静音登录" />

162

163

164

165

166

167

168 android:layout_width="match_parent"

169 android:layout_height="44dp"

170 android:background="@drawable/bottom"

171 android:gravity="center_vertical" >

172

173

174 android:layout_width="wrap_content"

175 android:layout_height="wrap_content"

176 android:background="@drawable/option" />

177

178

179

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值