android sets button style (border color, fillet) and picture style (fillet)

android sets button style (border color, fillet) and picture style (fillet) Set button border color: Create a new button? Edge.xml file in drawable <?xml version="1.0" encoding="UTF-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <!-- Border color value --><item> < ...

Posted by FrozNic on Thu, 30 Apr 2020 21:02:04 +0200

Android date format conversion (date to cycle)

Recently, I met a requirement in my own project to convert the standard day yyyy MM DD into a specific cycle, that is, the day of the week. By looking up the data, we found that Android has provided us with a powerful date tool Calendar class, through which we can quickly realize the conversion between dates. Here, I have encapsulated it as a ...

Posted by Lars Berg on Thu, 30 Apr 2020 20:55:42 +0200

The effect of a simple rolling number

1. Renderings 2. Custom attributes textColor font color textSize font size Time displayed in duration text 3. Instructions Step 1. Add it in your root build.gradle at the end of repositories: allprojects { repositories { ... maven { url 'https://jitpack.io' } } ...

Posted by r3drain on Thu, 30 Apr 2020 15:14:46 +0200

Flutter writes an iOS style address book

This article mainly introduces how to use the Cupertino style control of Flutter to write an iOS style address book, as well as the problems encountered in the process and solutions. When you write apps with Flutter, you will generally use material style controls. Because material style controls are rich, but they will appear Android flavor on ...

Posted by Shamrox on Tue, 28 Apr 2020 22:09:31 +0200

Python adb test of repeated network disconnection in selfie 62

Case story: during Android App or system testing, it involves abnormal test of network disconnection (in case of no network, whether the App or system prompts normal operation), Networking test (in case of network recovery, whether the App or system prompts to be normal and operates normally). At present, the equipment basically has two kinds ...

Posted by ViperSBT on Sat, 25 Apr 2020 15:42:12 +0200

Nested use of Card View layout in Fragment

Nested Card View layout in Fragment Look at the effect first: The layout file of Fragment is very simple, just a RecyclerView layout <android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_heigh ...

Posted by Serpent7 on Tue, 14 Apr 2020 18:52:52 +0200

Download 1000 apk s (with hands-on materials) in Python UU

When we were testing Android phones, The marketing department wants our testing department to test the compatibility of Top 1000 app s, To ensure that our mobile phones can be installed and run normally with so many easy-to-use app s, And the marketing department provides the apk download address of top 1000 in an application market. How to do ...

Posted by indian98476 on Mon, 06 Apr 2020 10:43:51 +0200

Android solves the overlapping problem of Fragment using replace method

Android solves the overlapping problem of Fragment using replace method Today, when using Fragment for replace switching, I found that there was no response:The layout is like this <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" ...

Posted by mgason on Mon, 06 Apr 2020 05:46:04 +0200

Linux -- install and configure Android SDK

1. Download Android SDK http://tools.android-studio.org/index.php/sdk/ I downloaded: Android sdk_r24.4.1-linux.tgz 2. Unzip Android SDK Copy the Android sdk_r24.4.1-linux.tgz file to a directory in the Linux file system. My directory is / usr/local/ Execute command decompression: tar -zvxf android-sdk_r24.4.1-linux.tg ...

Posted by Alith7 on Mon, 06 Apr 2020 03:55:11 +0200

Implementation of multiple popu display based on openlayer4

                     . You can click the official website to pop up the demo. Based on this logic, you can write a dynamic overlay layer and the dom nodes you need.          &ems ...

Posted by justinma on Sun, 05 Apr 2020 02:43:43 +0200