<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Android on HYH&#39;s Blog</title>
    <link>https://www.hyhforever.top/tags/android/</link>
    <description>Recent content in Android on HYH&#39;s Blog</description>
    <image>
      <title>HYH&#39;s Blog</title>
      <url>https://www.hyhforever.top/background.jpg</url>
      <link>https://www.hyhforever.top/background.jpg</link>
    </image>
    <generator>Hugo</generator>
    <language>zh</language>
    <lastBuildDate>Fri, 12 Jul 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.hyhforever.top/tags/android/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Android-Compose中的基本布局</title>
      <link>https://www.hyhforever.top/posts/2024/07/basic-layouts-in-android-compose/</link>
      <pubDate>Fri, 12 Jul 2024 00:00:00 +0000</pubDate>
      <guid>https://www.hyhforever.top/posts/2024/07/basic-layouts-in-android-compose/</guid>
      <description>&lt;h2 id=&#34;目标&#34;&gt;目标&lt;/h2&gt;
&lt;p&gt;构建一个健康应用，这款应用包含两个版块，一个列出了&lt;strong&gt;收藏合集&lt;/strong&gt;，另一个列出了&lt;strong&gt;各种体育锻炼&lt;/strong&gt;。具体如下图所示，包括竖屏和横屏的适配&lt;/p&gt;
&lt;p&gt;&lt;a data-fancybox=&#34;gallery&#34; href=&#34;https://www.hyhforever.top/posts/2024/07/basic-layouts-in-android-compose/images/image-28.png&#34; data-caption=&#34;&#34;&gt;
&lt;img loading=&#34;lazy&#34; src=&#34;https://www.hyhforever.top/posts/2024/07/basic-layouts-in-android-compose/images/image-28.png&#34;&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a data-fancybox=&#34;gallery&#34; href=&#34;https://www.hyhforever.top/posts/2024/07/basic-layouts-in-android-compose/images/image-29.png&#34; data-caption=&#34;&#34;&gt;
&lt;img loading=&#34;lazy&#34; src=&#34;https://www.hyhforever.top/posts/2024/07/basic-layouts-in-android-compose/images/image-29.png&#34;&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;主要内容&#34;&gt;主要内容&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;借助修饰符扩充可组合项&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android-状态交互-TipCalculate</title>
      <link>https://www.hyhforever.top/posts/2024/07/android-state-interaction-tip-calculate/</link>
      <pubDate>Wed, 10 Jul 2024 00:00:00 +0000</pubDate>
      <guid>https://www.hyhforever.top/posts/2024/07/android-state-interaction-tip-calculate/</guid>
      <description>&lt;h2 id=&#34;前言&#34;&gt;前言&lt;/h2&gt;
&lt;p&gt;在上一篇摇骰子的文章里，在局部使用了&lt;strong&gt;remember multableStateof&lt;/strong&gt;用于将变量存于内存之中，以便于状态变换。这篇文章的主要内容是设计一个简单的小费计算器，并且可以自定义选项。&lt;/p&gt;</description>
    </item>
    <item>
      <title>Android-Compose初步-摇骰子</title>
      <link>https://www.hyhforever.top/posts/2024/07/dice-shaker-development-in-android-compose/</link>
      <pubDate>Tue, 09 Jul 2024 00:00:00 +0000</pubDate>
      <guid>https://www.hyhforever.top/posts/2024/07/dice-shaker-development-in-android-compose/</guid>
      <description>&lt;h2 id=&#34;前言&#34;&gt;前言&lt;/h2&gt;
&lt;p&gt;最近在学习&lt;strong&gt;Android app&lt;/strong&gt;开发，用的是Kotlin语言，然而B站上面的视频质量并不是很高，大多数都是对编程无基础人员的基本语法教学。相比之下，我觉得Android官方的&lt;strong&gt;Developer&lt;/strong&gt;开发者课程是很不错的。此文章就是根据Android Developer中的&lt;strong&gt;创建交互式Dice Roller&lt;/strong&gt;（摇骰子）部分进行学习记录，使用的是&lt;strong&gt;Jetpack compose&lt;/strong&gt;的ui开发框架。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
