prefer rather than的用法

高频词,一定要记得哦!
英[pr?'f?:]
美[pri'f?r]
v. 宁可;更喜欢;提出;给予优先权
Does he prefer a particular sort of music?
他有特别喜欢的音乐类型吗?
Would you prefer tea or coffee?
你喜欢喝茶还是咖啡?
I prefer red wine to white.
我喜欢红葡萄酒胜过白葡萄酒。
I prefer French to chemistry.
比起化学,我更喜欢法语。
I prefer painting to drawing.
比起素描,我更喜欢油画。
The woodwork's green now. I preferred it blue.
木构件现在是绿色的。我原来更喜欢把它涂成蓝色的。
Some people prefer being single.
一些人宁可单身。
He prefers going to the theatre alone.
他更喜欢独自去看戏。
I prefer to travel by rail when I can.
只要可能,我更希望乘火车旅行。
I prefer to eat out with friends.
我更喜欢和朋友出去吃饭。
I'd prefer him to go to university.
我更希望他去上大学。
搭配:[+ creditor]
1. value more highly
Some people prefer camping to staying in hotels
We prefer sleeping outside
2.sele prefer as an alternative
I always choose the fish over the meat courses in this restaurant
She opted for the job on the East coast
3.promote over another
he favors his second daughter
4.give preference to one creditor over another
只有登录后,才能查看此项,现在是否?
1.Rather than spend hours at the kitchen sink, I'd prefer to buy a dishwasher.
与其在厨房洗涤槽旁浪费几个小时,我宁可去买一台洗碟机。
2.I prefer walking to work.
我宁可走去上班。
3.I prefer tea to coffee.
我喜欢茶,而不是咖啡。
4.Which type of transport do you prefer?
你更喜欢哪种类型的交通工具?
5.I prefer soft drink.
我要软饮料。
1.& to prefer sb/sth to sb/sth
2.& to to prefer sth sth
3.& to prefer doing sth
4.& to prefer to do sth
5.& to prefer sb to do sth
1.&like,love,enjoy,fancy,adore,prefer
这些动词都有“喜欢、喜爱”之意。like最常用词,往往只表不太强烈的兴趣或关注,不带强烈的感情,除非另加修饰语。love不但表示强烈的喜欢,而且含依恋之情,因此多用于能激起深厚情感的人或物。enjoy指对能提供感观或智力上满足或快乐的东西表示欣赏或喜爱。fancy指喜爱投合自己心意、嗜好或欲望等的人或物。adore非正式用词,口语体。指非常喜爱,带强烈的感情色彩。prefer指有选择性或偏向性的喜欢。
2.&choose,select,elect,pick,prefer,opt
这些动词均含有“选择”之意。choose普通用词,侧重根据个人意愿和判断从众多的对象中进行选择,着重被选者的优点。select书面用词,具有庄严、正式的感情色彩。强调精选。elect指按照一定的规章或法律,用投票等方式进行的认真慎重的选择。 pick口语用词,多指从个人角度仔细挑选,也含任意挑选之意。prefer强调个人偏爱,不一定有选择的行动。opt多指在几种可能性之间进行选择。
好文推荐:&span style=&font-size:18&&package com.example.
import java.util.I
import java.util.S
import android.annotation.SuppressL
import android.app.D
import ponentN
import android.content.I
import android.os.B
import android.preference.CheckBoxP
import android.preference.EditTextP
import android.preference.ListP
import android.preference.MultiSelectListP
import android.preference.P
import android.preference.Preference.OnPreferenceChangeL
import android.preference.Preference.OnPreferenceClickL
import android.preference.PreferenceA
import android.preference.PreferenceS
import android.preference.SwitchP
import android.util.L
import android.view.LayoutI
import android.view.MotionE
import android.view.V
import android.view.View.OnClickL
import android.view.View.OnTouchL
import android.widget.B
import android.widget.ListA
import android.widget.ListV
public class MainActivity extends PreferenceActivity implements OnPreferenceClickListener , OnPreferenceChangeListener{
private static final String TAG =
Intent intentT
EditTextPreference editTextP
ListPreference listP
MultiSelectListPreference multiSelectListP
CheckBoxPreference boxP
@SuppressWarnings(&deprecation&)
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.text_preference);
ComponentName componentName = new ComponentName(&com.yunos.osupdate&,
&com.yunos.osupdate.front.UpdateActivity11&);
intentTest = new Intent();
intentTest.setComponent(componentName);
findPreference();
@SuppressLint(&NewApi&)
@SuppressWarnings(&deprecation&)
private void findPreference() {
editTextPreference = (EditTextPreference) findPreference(&edit0&);
if (null != editTextPreference){
editTextPreference.setOnPreferenceClickListener(this);
editTextPreference.setOnPreferenceChangeListener(this);
listPreference = (ListPreference) findPreference(&ListPreference&);
if (null != listPreference){
listPreference.setOnPreferenceClickListener(this);
listPreference.setOnPreferenceChangeListener(this);
multiSelectListPreference = (MultiSelectListPreference) findPreference(&MultiSelectListPreferencekey&);
if (null != multiSelectListPreference){
multiSelectListPreference.setOnPreferenceClickListener(this);
multiSelectListPreference.setOnPreferenceChangeListener(this);
boxPreference = (CheckBoxPreference) findPreference(&CheckBoxPreferenceKey&);
if (null != boxPreference){
boxPreference.setOnPreferenceClickListener(this);
boxPreference.setOnPreferenceChangeListener(this);
public boolean onPreferenceClick(Preference preference) {
String key = preference.getKey();
if (key.equals(&edit0&)){
String contect = ((EditTextPreference)preference).getText();
Log.i(TAG , &contect = & + contect);
}else if (key.equals(&ListPreference&)){
String entry = (String) listPreference.getEntry();
String value = (String) listPreference.getValue();
Log.i(TAG, &entry = & + entry + & value = & + value);
}else if (key.equals(&MultiSelectListPreferencekey&)){
&span style=&color:#cc0000;&&Set&String& temp = ((MultiSelectListPreference)preference).getValues();
Iterator&String&
iterator = temp.iterator();
while(iterator.hasNext()){
String item = iterator.next();
Log.i(TAG , &
valuse : & + item);
public boolean onPreferenceChange(Preference preference, Object newValue) {
String key = preference.getKey();
if (key.equals(&edit0&)){
temp = (String) newV
((EditTextPreference)preference).setText(temp);
Log.i(TAG , &onPreferenceChange newValue = & + temp);
}else if (key.equals(&ListPreference&)){
temp = (String) newV
((ListPreference)preference).setValue(temp);
Log.i(TAG , &onPreferenceChange newValue = & + temp);
}else if (key.equals(&MultiSelectListPreferencekey&)){
&span style=&color:#990000;&&Set&String&
temp = (Set&String&) newV
Iterator&String&
iterator = temp.iterator();
while(iterator.hasNext()){
String item = iterator.next();
Log.i(TAG , &newValue
& + item);
((MultiSelectListPreference)preference).setValues(temp);
&/span&&span style=&font-size:18&&XMl :&/span&&span style=&font-size:18&&
&span style=&font-size:18&&&?xml version=&1.0& encoding=&utf-8&?&
&PreferenceScreen xmlns:android=&/apk/res/android& &
&PreferenceCategory android:title=&DialogPreference& &
&EditTextPreference
android:key=&edit0&
android:summary=&EditTextPreference summary&
android:title=&EditTextPreference& /&
&ListPreference
android:entries=&@array/myentry&
android:entryValues=&@array/myentryvalues&
android:key=&ListPreference&
android:summary=&ListPreference summary&
android:title=&ListPreference& /&
&MultiSelectListPreference
android:entries=&@array/myentry&
android:entryValues=&@array/myentryvalues&
android:key=&MultiSelectListPreferencekey&
android:summary=&MultiSelectListPreference summary&
android:title=&MultiSelectListPreference& /&
&/PreferenceCategory&
&PreferenceCategory android:title=&RingtonePreference& &
&RingtonePreference
android:key=&RingtonePreferencekey&
android:summary=&RingtonePreference &
android:title=&RingtonePreference& /&
&/PreferenceCategory&
&PreferenceCategory android:title=&TwoStatePreference& &
&SwitchPreference
android:key=&SwitchPreferencekey&
android:summary=&SwitchPreference
android:summaryOff=&SwitchPreference summaryOff&
android:summaryOn=&SwitchPreference summaryOn&
android:switchTextOff=&SwitchPreference switchTextOff&
android:switchTextOn=&SwitchPreference switchTextOn&
android:title=&SwitchPreference& /&
&CheckBoxPreference
android:key=&CheckBoxPreferenceKey&
android:summary=&CheckBoxPreference
android:summaryOff=&CheckBoxPreference summaryOff&
android:summaryOn=&CheckBoxPreference summaryOn&
android:title=&CheckBoxPreference& /&
&/PreferenceCategory&
&/PreferenceScreen&&/span&
&span style=&font-size:18&&&resources xmlns:xliff=&urn:oasis:names:tc:xliff:document:1.2&&
&string-array name=&myentry&&
&item &enrty0&/item&
&item &enrty1&/item&
&item &enrty2&/item&
&item &enrty3&/item&
&item &enrty4&/item&
&/string-array&
&string-array name=&myentryvalues&&
&item &enrty0_v&/item&
&item &enrty1_v&/item&
&item &enrty2_v&/item&
&item &enrty3_v&/item&
&item &enrty4_v&/item&
&/string-array&
&/resources&&/span&
注意要手动调用setValue &才可以持久化保存 ,而且一定要设置key
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:216707次
积分:1824
积分:1824
排名:第17578名
原创:30篇
转载:32篇
评论:41条
(1)(3)(4)(5)(1)(1)(10)(5)(24)(8)prefer的用法__(全)_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
prefer的用法__(全)
上传于||文档简介
&&prefer的用法_
阅读已结束,如果下载本文需要使用1下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩1页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢请老师介绍一下rather than and prefer的用法,包括其各自用法及相结合用法,最好能附带例题。(北京四中网校-〉名师答疑-〉高一-〉英语) 
  欢迎您!
                        
               
  知识讲解
请老师介绍一下rather than and prefer的用法,包括其各自用法及相结合用法,最好能附带例题。
  请老师介绍一下rather&than&and&prefer的用法,包括其各自用法及相结合用法,最好能附带例题。
多谢老师啦..
Snow_white
  5785552
请老师介绍一下rather&than&and&prefer的用法,包括其各自用法及相结合用法,最好能附带例题。 多谢老师啦..
答:rather than()
John ought to go rather than Mary
rather thanto(to)
In Chinait is important to invest in education rather than(to)increase personal wages
l like swimmingbut I prefer sailing
prefer“……”rather thanRather thantoing
1 would prefer to spend the weekend at home rather than drive out
prefer“……”torather than
I prefer watching TV to reading books
I don't prefer people to smoke here
preferwould rather
I'd prefer that you did not go there alone
f7_xmjiang

我要回帖

更多关于 prefer rather than 的文章

 

随机推荐