![android 小部件](https://i-blog.csdnimg.cn/blog_migrate/c7a1234c9aacffef96fddca1e2761493.png)
android 小部件
![00-lead-image-contact-widget-on-home-screen](https://i-blog.csdnimg.cn/blog_migrate/16e593ccdec0f1e47379dc0febea8c6b.png)
Most of us have contacts that we call or text often and scrolling or searching through your long list of contacts can take more time than you may have. You can solve this by adding a speed dial shortcut to your Home screen.
我们大多数人都有我们经常打电话或发短信的联系人,滚动或搜索一长串联系人可能比您花费更多时间。 您可以通过在主屏幕上添加快速拨号快捷方式来解决此问题。
We will show you how to do this on a Google device and on a Samsung device.
我们将向您展示如何在Google设备和Samsung设备上执行此操作。
Google设备 (Google Devices)
For this example, we used a Nexus 7 tablet. Touch the “All Apps” icon on the Home screen.
在此示例中,我们使用了Nexus 7平板电脑。 触摸主屏幕上的“所有应用”图标。
![01-g-touching-all-apps](https://i-blog.csdnimg.cn/blog_migrate/bfd417a2012bb624b969d5419820aab6.png)
The “Apps” tab displays. Touch the “Widgets” tab.
显示“应用程序”选项卡。 触摸“窗口小部件”标签。
![02-g-touching-widgets](https://i-blog.csdnimg.cn/blog_migrate/7a5cc19466948388ae66b40b32f3138e.png)
Swipe up to move down the list of widgets until you find the “Contact” widget. Touch and hold the widget and drag it to the desired location on the Home screen.
向上滑动可将小部件列表向下移动,直到找到“联系人”小部件。 触摸并按住该小部件,然后将其拖动到主屏幕上的所需位置。
NOTE: If this was a phone, there would be more than one type of “Contact” widget available. On a phone, you can add a “Contact” widget to directly call someone or send a text message, as you will see when we show you how to add a “Contact” widget to the Home screen on a Samsung phone.
注意:如果这是一部电话,将有不止一种类型的“联系”小部件可用。 在电话上,您可以添加“联系人”小部件以直接呼叫某人或发送短信,正如我们向您展示如何在三星手机的主屏幕上添加“联系人”小部件时所看到的。
![03-g-touch-and-hold-contact](https://i-blog.csdnimg.cn/blog_migrate/61842377e5d7faa473d0f0663c80f532.png)
The “Choose a contact shortcut” screen displays. Find the contact you want to add to the Home screen and touch it.
显示“选择联系人快捷方式”屏幕。 找到要添加到主屏幕的联系人,然后触摸它。
![04-g-touching-contact](https://i-blog.csdnimg.cn/blog_migrate/56ec1d4f065c3021e0a5fdddf308b649.png)
The contact is added to the Home screen. Clicking the new widget directly opens that contact in the address book.
联系人已添加到主屏幕。 单击新的窗口小部件将直接在通讯录中打开该联系人。
![05-g-contact-on-home-screen](https://i-blog.csdnimg.cn/blog_migrate/09a6b7bb5bf014d9f87904139b5aef33.png)
三星设备 (Samsung Devices)
For this example, we used a Galaxy Note 4 phone. Touch and hold on any empty space on the Home screen.
在此示例中,我们使用了Galaxy Note 4手机。 触摸并按住主屏幕上的任何空白区域。
![06-s-long-touch-on-home-screen](https://i-blog.csdnimg.cn/blog_migrate/eafaae5cbea766c4f63509273f45acb5.png)
The Home screen is shrunk and three icons display on the bottom of the screen. Touch the “Widgets” icon.
主屏幕缩小,三个图标显示在屏幕底部。 触摸“小部件”图标。
![07-s-touching-widgets](https://i-blog.csdnimg.cn/blog_migrate/3d622778a485c00e7cd82e91bf4968d1.png)
Swipe up to scroll down through the list of widgets until you find the “Contacts” widgets. There are three widgets available for contacts. The first one allows you to quickly open the contact in your address book. The second widget with the small phone icon on it allows you to call a contact with one touch on the widget. The widget with the small envelope allows you to open the default messaging app directly with that contact active. For this example, we’ll add a “Direct Message” widget to the Home screen so touch and hold the widget icon and drag it to the Home screen.
向上滑动可在小部件列表中向下滚动,直到找到“联系人”小部件。 有三个可用于联系人的小部件。 第一个允许您快速打开通讯录中的联系人。 第二个带有小电话图标的小部件使您可以一键式呼叫联系人。 带有小信封的小部件可让您在该联系人处于活动状态时直接打开默认消息传递应用程序。 对于此示例,我们将“直接消息”窗口小部件添加到主屏幕,因此触摸并按住该窗口小部件图标并将其拖动到主屏幕。
![08-s-touch-and-hold-contact](https://i-blog.csdnimg.cn/blog_migrate/90064c52bc86e897548dfd95f49f63e2.png)
Search for the contact you want to add to the Home screen and touch it.
搜索要添加到主屏幕的联系人,然后触摸它。
![09-s-search-for-name](https://i-blog.csdnimg.cn/blog_migrate/ad72cd3878819a324da24c5cb39c09b7.png)
The contact widget is added to the Home screen.
联系人窗口小部件已添加到主屏幕。
![10-s-contact-on-home-screen](https://i-blog.csdnimg.cn/blog_migrate/d36f261758c628cdc498c244dfbefc60.png)
Now you can quickly call or text someone with one tap. There are also other ways you can customize your Android Home screen.
现在,您可以一键快速致电或发短信给某人。 您还可以通过其他方式自定义Android主屏幕 。
翻译自: https://www.howtogeek.com/219742/how-to-add-a-widget-for-a-contact-to-the-home-screen-in-android/
android 小部件