LoginSignup
0
0

More than 3 years have passed since last update.

【Android】Kotlinで電卓作成 デザイン編

Last updated at Posted at 2020-09-14

xmlで電卓の位置調整が難しいので、調べてみた。
<LinearLayout
android:orientation="vertical">

で縦方向を指定し、

<LinearLayout
android:orientation="horizontal">

で横方向を入れ子にして書いていくことで解決した。

デザイン部分ソースコード
https://github.com/CoffCookie/calcApp/blob/master/app/src/main/res/layout/activity_main.xml

全コード
https://github.com/CoffCookie/calcApp.git

プログラム編
https://qiita.com/clipbord/items/b0b4c55f15ea49452f30

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0