Two types of dialog boxes that are similar to iOS 7 and iOS 7
I have been using the iphone, so I like the various ios controls, I have done ios7 Slide button http://www.eoeandroid.com/thread-331542-1-1.html
Next, let's look at the two dialog boxes of ios7. QQ is the same as ios7. At the bottom of the menu list and AlertDialog, the effect is as follows:
1. AlertDialog. The usage is similar to that of android.
- New AlertDialog (MainActivity. this). builder ()
- . SetTitle ("title ")
- . SetMsg ("text content ")
- . SetCancelable (false)
- . SetPositiveButton ("OK", new OnClickListener (){
- @ Override
- Public void onClick (View v ){
- //
- }
- }). SetNegativeButton ("cancel", new OnClickListener (){
- @ Override
- Public void onClick (View v ){
- //
- }
- })
- . Show ();
Copy code
2. ActionSheetDialog, which is similar to AlertDialog
- New ActionSheetDialog (MainActivity. this). builder ()
- . SetTitle ("title ")
- . SetCancelable (false)
- . SetCanceledOnTouchOutside (false)
- . AddSheetItem ("entry name 1", SheetItemColor. Red,
- New OnSheetItemClickListener (){
- @ Override
- Public void onClick (int which ){
- }
- })
- . AddSheetItem ("entry name 2", SheetItemColor. Red,
- New OnSheetItemClickListener (){
- @ Override
- Public void onClick (int which ){
- }
- })
- // You can add multiple SheetItem instances.
- . Show ();
Copy code
Code download: http://download.csdn.net/detail/xiechengfa/8067275
How can I change the interface for receiving calls on iOS 7?
It seems that this cannot be changed at present, because such solutions are not found after jailbreak.
How to restore ios7
1. first, the first step is to download the firmware package, open the "iOS7 firmware package" on Apple's official website or other assistants, and then select the iOS7.0.X firmware package corresponding to your device, download it to your local device.
2. What you need to do is to restore your iPhone, iPad, or other iOS 7 devices to the IOS 7.0.x version that is not jailbroken. Connect the device to the USB interface of the computer using a data cable.
3. If your mobile phone is changed to a white apple, you need to enter the DFU mode to install and restore the iOS7.0.4 system. The method is as follows:
1. Press the Home Key and power key simultaneously until the apple Logo is displayed;
2. However, you still need to press and hold the Home key. When the interface connecting to iTunes appears, release the Home Key.
4. Start iTunes on your computer, press and hold the shift key on your computer (the Option key on the Apple Computer), and click "Restore" on the iTunes page ,.
5. In the pop-up dialog box, select the downloaded iOS7.0.4 firmware and perform the following recovery operations. After the restoration, your system becomes a pure version of iOS7.0.X without jailbreak.